// View that bounces the value it's given to adam.
// Copyright 2006 (C) Ralph Thomas

#ifndef MISSION_VIEW_BOUNCE_ADAM_H
#define MISSION_VIEW_BOUNCE_ADAM_H

#include <factory.hpp>

namespace view {
	//
	/// The bounce_adam view is an invisible view that binds
	/// all of it's parameters (assumed to be datapumps) to
	/// cells in the sheet.
	///
	/// \param	parameters	cell -> datapump mapping.
	/// \param	parent		parent view, unused.
	/// \param	token		the factory token containing the sheet, etc.
	/// \return	the parent parameter.
	//
	adobe::widget_node_t bounce_adam_factory(
		const adobe::dictionary_t&		parameters,
		const adobe::widget_node_t&		parent,
		const adobe::factory_token_t&	token );
}

#endif
